package request

type EssayCreate struct {
	Title  string `form:"title" binding:"required"`
	Image  string `form:"image" binding:"required"`
	Author string `form:"author" binding:"required"`
}

type ComCreate struct {
	EssayId uint64 `form:"essay_id" binding:"required"`
	Comment string `form:"comment" binding:"required"`
}
